import numpy as np
numberArray = np.array([45,10,-5,-2,-15])
posNumberArrayy = numberArray[numberArray>0]
print(posNumberArrayy) #[45 10]
data = np.array([np.nan,1,np.nan,3,7,np.nan])
fixData = data[~np.isnan(data)]
print(fixData) #[1. 3. 7.]
